package com.zd.service;

import java.util.List;

import com.zd.entity.Chapter;
import com.zd.entity.LBVipBook;
import com.zd.entity.Novel;
import com.zd.entity.NovelWriterType;
import com.zd.entity.PageBean;
import com.zd.entity.User;

public interface NovelService {
	public List<String> novelType();
	public List<String[]> type_NovelName();
	public List<Novel> novelHitsSelect();
	public List<NovelWriterType> novelVipSelect();
	public List<NovelWriterType> SelectNewNovelList();
	public List<NovelWriterType> SelectNewNovelListMore();
	public List<NovelWriterType> SelectNewNovelListMoreTen();
	public List<NovelWriterType> SelectEndNovelListone();
	public List<NovelWriterType> SelectEndNovelListmore();
	public List<NovelWriterType> SelectEndNovelListten();
	public List<NovelWriterType> SelectnovelN();
	public List<Chapter> selectNoveChapter();
	public List<Chapter> selectshuChapter(String novelId);
	public List<NovelWriterType> selectnovelById(String novelId);
	public int selectChapterNum(String string);
	public Chapter selectNowChapter(String novelId);
	public PageBean<Novel> selectNovel(int aPageNum, int nowPage);
	public int selectTypeis(String novelType1);
	public int selectWriteris(String writerName);
	public int updateNovel(Novel novel, int novelTypeId, int writerId);
	public int deleteNovel(int novelId);
	public int addNovel(Novel novel, int novelTypeId, int writerId);
	public PageBean<Novel> sousuoSelectUser(int aPageNum, int nowPage, String sousuo);
	public int addRead(int userId, String novelId);
	public List<Novel> selectVIP();
	public List<LBVipBook> selectVipBook();
	public int updateVIPBook(String novelId, String vipBookId);
	public int addHits(String novelId);
	public List<Novel> selectNovelaudit();
	public List<Chapter> selectChapteraudit();
}
